#include<stdio.h>
#include<string.h>
squeeze(char s1[],char s2[])
{
	int a1,a2,k;
	for(a1=0,a2=0;s1[a1]!='\0';a1++)
	{
		a2=0;
		while(s2[a2]!='\0')
		{
			if(s1[a1]!=s2[a2])
			{
				a2++;
			}
			else
			{
				for(k=a1;s1[k]!='\0';k++)
				{
					s1[k]=s1[k+1];
				}
				a2=0;
			}
		};
	}
	printf("%s",s1);
}
main()
{
	char s1[50],s2[50];
	printf("input string 1:");
	scanf("%s",s1);
	while(getchar()!='\n');
	printf("\n");
	printf("input string 2:");
	scanf("%s",s2);
	while(getchar()!='\n');
	printf("\n");
	squeeze(s1,s2);
}
